package hcs.settings;

import hcs.interfaces.IHouseSettings;

/**
 * A container for room names, sqm and default settings.
 */
public class DefaultHouseSettings implements IHouseSettings {
	
	private static double standardPresenceTemp;
	private static double standardAwayTemp;
	private static int standardHeatingTime;
	private static int standardAwayTime;
	private static int standardInsideTime;
	
	private String[] roomNames = {
		"living room", 
		"eating room",
		"sleeping room",
		"children room",
		"visitors room",
		"work room",
		"kitchen",
		"bathroom",
		"visitor bathroom",
		"hall"};
	
	private int[] sqm = { 40, 15, 15, 20, 15, 10, 15, 5, 5, 10};
	
	/**
	 * Class constructor.
	 * 
	 */
	public DefaultHouseSettings() {
		standardPresenceTemp = 20.0;
		standardAwayTemp = 16.0;
		standardHeatingTime = 8;
		standardAwayTime = 4;
		standardInsideTime = 2;
	}
	
	/**
	 * 
	 * @return the array of room names.
	 */
	public String[] getRoomNames() {
		return this.roomNames;
	}
	
	/**
	 * 
	 * @return the array of sqm
	 */
	public int[] getSqm() {
		return this.sqm;
	}
	
	/**
	 * 
	 * @return StandardPresenceTemp
	 * @see System documentation
	 */
	public double StandardPresenceTemp() {
		return standardPresenceTemp;
	}

	/**
	 * 
	 * @return StandardAwayTemp
	 * @see System documentation
	 */
	public double StandardAwayTemp() {
		return standardAwayTemp;
	}

	/**
	 * 
	 * @return StandardHeatingTime
	 * @see System documentation
	 */
	public int StandardHeatingTime() {
		return standardHeatingTime;
	}

	/**
	 * 
	 * @return StandardAwayTime
	 * @see System documentation
	 */
	public int StandardAwayTime() {
		return standardAwayTime;
	}

	/**
	 * 
	 * @return StandardInsideTime
	 * @see System documentation
	 */
	public int StandardInsideTime() {
		return standardInsideTime;
	}
}
